<div id="admin-section-container">
<!-- DEFINE $SECONDROW = false -->
<!-- BEGIN section -->

<!-- IF section.S_SECTION_POS == '1' -->
<div  class="admin-section-2rows">
<!-- ENDIF -->

<fieldset class="admin-section-items-container">
<legend>
<!-- IF section.S_TOGGLE -->
<img class="toggle" id="toggle{section.S_TOGGLE}" alt="L_(TOGGLE)" title="L_(TOGGLE)" src="{THEME_PATH}images/plus.png" />
<!-- ENDIF -->
{section.S_NAME}
</legend>

<!-- IF section.S_ISCFG -->
<form id="form{section.S_ID}" method="post" action="{U_ACP_PAGE}" {I18N}>
<div class="admin-section-item admin-section-item-onoff">
  <label>Enabled</label>
  <span>{section.S_HIDDEN}
    <img src="images/{section.S_IMG}.gif" alt="{section.S_IMGALT}" title="{section.S_IMGTITLE}" onclick="$('form{section.S_ID}').submit()" />
  </span>
</div>
</form>
<!-- ENDIF -->

<!-- IF section.S_HAS_ITEMS -->
<form method="post" action="{section.U_ACTION}" {I18N} id="{section.S_TOGGLE}" class="toggled">
<br />
<!-- BEGIN item -->
<!-- IF section.item.S_TEXT_ONLY -->
  {section.item.S_TEXT_ONLY}
<!-- ELSE -->
<div class="admin-section-item">
  <!-- IF section.item.S_EXTRA -->
  {section.item.S_EXTRA}
  <!-- ELSE -->
  <label for="{section.item.S_ID}">{section.item.S_NAME}</label>
  <span>{section.item.S_DATA}</span>
	<!-- IF section.item.S_HELP -->{section.item.S_HELP}<!-- ENDIF -->
  <!-- ENDIF -->
</div>
<!-- ENDIF -->
<br />
<!-- END item -->
<input type="submit" name="save" value="_(SAVECHANGES)" class="mainoption" />
</form>
<!-- ENDIF -->
</fieldset>

<!-- IF (S_SECTION_COUNT / 2) <= section.S_SECTION_POS -->
<!-- IF ! $SECONDROW -->
</div><div class="admin-section-2rows">
<!-- ENDIF -->
<!-- DEFINE $SECONDROW = true -->
<!-- ENDIF -->

<!-- IF S_SECTION_COUNT == section.S_SECTION_POS -->
</div>
<!-- ENDIF -->
<!-- END section -->
<br />
</div>